rtparagraphs
Command/ startparallel
Command/ startplacefloat
Command/ startplacepairedbox
Command/ startsection
Command/ startsectionblock
Command/ startstartstop
Command/ startstop
Command/ startstyle
Command/ starttabulate
Command/ starttextbackground
Command/ starttyping
Command/ startviewerlayer
\starttext
\startbuffer
\starttabulate[|T]
\NC U+0002D \NC - \NC -- \NC --- \NC\NR
\NC U+02011 \NC ‑ \NC ‑‑ \NC ‑‑‑ \NC\NR
\NC U+02012 \NC ‒ \NC ‒‒ \NC ‒‒‒ \NC\NR
\stoptabulate
\stopbuffer
\nohyphencollapsing
\getbuffer
\setupbodyfont[pagella]
\getbuffer
\dohyphencollapsing
\getbuffer
be the wrong symbol in the document, there are
many dashes in unicode which look similar in the input and output files.
\starttext
\startbuffer
\starttabulate[|T]
\NC U+0002D \NC - \NC -- \NC --- \NC\NR
\NC U+02011 \NC ‑ \NC ‑‑ \NC ‑‑‑ \NC\NR
\NC U+02012 \NC ‒ \NC ‒‒ \NC ‒‒‒ \NC\NR
\stop
ere are
many dashes in unicode which look similar in the input and output files.
\starttext
\startbuffer
\starttabulate[|T]
\NC U+0002D \NC - \NC -- \NC --- \NC\NR
\NC U+02011 \NC ‑ \NC ‑‑ \NC ‑‑‑ \NC\NR
\NC U+02012 \NC ‒ \NC ‒‒ \NC ‒‒‒ \NC\NR
\stoptabulate
\stopbuffer
\getbuffer
\setupbodyfont[
eference[xyz]{}
> \starttabulate[|lp(.3\textwidth)|lp(.\textwidth)|]
> \NC \reference[xyz]{} \NC \NC\NR
\NC \doifnotmode{*trialtypesetting}{\pagereference[xyz]} \NC \NC\NR
> \stoptabulate
>
>
> \pagebreak
>
> \at{page}[xyz]
>
> \stoptext
>
> The code does work
Joel via ntg-context schrieb am 15.03.2024 um 20:50:
When I run this code, \at{page}[xyz] is unable to find the cross reference:
\starttext
%\reference[xyz]{}
\starttabulate[|lp(.3\textwidth)|lp(.\textwidth)|]
\NC \reference[xyz]{} \NC \NC\NR
\NC \doifnotmode{*trialtypesetting
When I run this code, \at{page}[xyz] is unable to find the cross reference:
\starttext%\reference[xyz]{}
\starttabulate[|lp(.3\textwidth)|lp(.\textwidth)|]
\NC \reference[xyz]{} \NC \NC\NR
\stoptabulate
\pagebreak
\at{page}[xyz]
\stoptext
The code does work when I uncomment line #2
/find>
>>
>> Best regards: Otared
>>
>>> On 22 Feb 2024, at 18:40, Hans Hagen >> <mailto:j.ha...@xs4all.nl>> wrote:
>>> Hi,
>>>
>>> As I needed to check some commands i added this:
>>>
&g
wrote:
Hi,
As I needed to check some commands i added this:
context --find="%\starttabulate"
which will (should) give a list of lines/files in the documentation where this command is used.
needed to check some commands i added this:
>
> context --find="%\starttabulate"
>
> which will (should) give a list of lines/files in the documentation where
> this command is used.
>
> Hans
>
> -
Hi,
As I needed to check some commands i added this:
context --find="%\starttabulate"
which will (should) give a list of lines/files in the documentation
where this command is us
withdots withcolor "red";
setbounds currentpicture to OverlayBox;
\stopuseMPgraphic
Thank you!
(I’m sure I already used that somewhere… Must document…)
ok, new feature dedicated to Hraban ... who then of courese has to
document it.
\starttext
\starttabulate
\FL[1,2] % linef
t{#1}{city}\crlf
\ifxmlattempty{#1}{telephone}{\vskip -1em}\else{\phonelink{\xmlatt{#1}{telephone}}}\fi
%\vskip -1em
\xmlflush{#1}
\blank[big]
\stopxmlsetups
% The only purpose of the element is to make a table of members.
\startxmlsetups xml:list:members
\starttabulate[|l|l|l|]
\x
a try, using the same syntax as \starttable:
>> \starttable[|c|c|]
>> \HL
>> \VL \bf Year \VL \bf Citizens \VL\SR
>> \HL
>> \VL 1675 \VL ˜428 \VL\FR
>> \VL 1795 \VL 1124 \VL\MR
>> \VL 1880 \VL 2405 \VL\MR
>> \VL 1995 \VL 7408 \VL\LR
>> \HL
&
ame syntax as \starttable:
\starttable[|c|c|]
\HL
\VL \bf Year \VL \bf Citizens \VL\SR
\HL
\VL 1675 \VL ˜428 \VL\FR
\VL 1795 \VL 1124 \VL\MR
\VL 1880 \VL 2405 \VL\MR
\VL 1995 \VL 7408 \VL\LR
\HL
\stoptable
\starttabulate[|c|c|]
\HL
\VL \bf Year \VL \bf Citizens \VL\SR
\HL
\VL 1675 \VL ˜428 \VL\FR
\VL 1795 \VL 1
as long as it fits.
I just gave that a try, using the same syntax as \starttable:
\starttable[|c|c|]
\HL
\VL \bf Year \VL \bf Citizens \VL\SR
\HL
\VL 1675 \VL ˜428 \VL\FR
\VL 1795 \VL 1124 \VL\MR
\VL 1880 \VL 2405 \VL\MR
\VL 1995 \VL 7408 \VL\LR
\HL
\stoptable
\starttabulate[|c|c|]
\HL
\VL \bf Year
ion.
I’m quite sure \starttable will stay, it’s just discouraged since
\startTABLE (natural tables) is better if you need more than \starttabulate.
In a recent answer on this list, Mikael helped someone by pointing out the
\HF[...] command. The \HF command is not listed in the \starttable wiki
{#1}{city}\crlf
\xmlatt{#1}{telephone}\crlf
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:list:members
\starttabulate[|l|l|l|l|]
\xmlflush{#1}
\stoptabulate
\stopxmlsetups
\startxmlsetups xml:list:member
\NC \xmlatt{#1}{name} {\tfxx \xmlatt{#1}{maiden_name}} \NC \xmlatt{#1}{birthday}
is created.
\definetyping[MyTyping][style=\tt]
\typefile[MyTyping][numbering=line]{three_lines.txt}
Still works if used in a column
\startcolumns
\typefile[MyTyping][numbering=line]{three_lines.txt}
\column
:-)
\stopcolumns
\blank
But doesn't work if used in tabulate
\starttabulate[|p|p|]
\NC
\typefil
\clubpenalties{1}{150}
\setpenalties\widowpenalties{1}{1}
\setpenalties\displaywidowpenalties{1}{1}
\stopsetups
\setuplayout[setups=mypenalties]
\starttext
\starttabulate[|p(.15\textwidth)|p|]
\NC asdf \NC a asdf asdf asdf asdf asdf asdf
sdf asdf
t; \startsetups[mypenalties]
> > \setdefaultpenalties
> > \setpenalties\clubpenalties{1}{150}
> > \setpenalties\widowpenalties{1}{1}
> > \setpenalties\displaywidowpenalties{1}{1}
> > \stopsetups
> >
> > \setuplayout[setups=mypenaltie
\startsetups[mypenalties]
\setdefaultpenalties
\setpenalties\clubpenalties{1}{150}
\setpenalties\widowpenalties{1}{1}
\setpenalties\displaywidowpenalties{1}{1}
\stopsetups
\setuplayout[setups=mypenalties]
\starttext
\starttabulate[|p(.15\textwidth)|p
\startsetups[mypenalties]
\setdefaultpenalties
\setpenalties\clubpenalties{1}{150}
\setpenalties\widowpenalties{1}{1}
\setpenalties\displaywidowpenalties{1}{1}
\stopsetups
\setuplayout[setups=mypenalties]
\starttext
\starttabulate[|p(.15\textwidth)|p
\setpenalties\clubpenalties{1}{150}
\setpenalties\widowpenalties{1}{1}
\setpenalties\displaywidowpenalties{1}{1}
\stopsetups
\setuplayout[setups=mypenalties]
\starttext
\starttabulate[|p(.15\textwidth)|p|]
\NC asdf \NC a asdf asdf asdf asdf asdf asdf sdf
. So, when Mikael and I were looking at one of
his documents that mixes a lot of math into itemized situations, a
different variant was made (ok, there was another reason but that's a
bit technical).
At that time, I had already adapted itemize to work a bit better with
bTABLE and starttabulate
. So, when Mikael and I were looking at one of
his documents that mixes a lot of math into itemized situations, a
different variant was made (ok, there was another reason but that's a
bit technical).
At that time, I had already adapted itemize to work a bit better with
bTABLE and starttabulate
are not displayed.
\setuppagenumbering [alternative=doublesided,location=]
\setupcaption[style=sans,headstyle=sans]
\starttext
\startchapter[title={Page Numbering Test}]
\startplacetable[location={here,spit,force},title={Title?}]
\starttabulate[|rp|lp|]
\HL \NC tufte \NC \input tufte
> On 27 Jun 2023, at 09:56, Denis Maier via ntg-context
> wrote:
>
> Hi,
> is it possible to override the defined orienatation for a given cell ?
\starttext
\starttabulate[|l|c|r|]
\NC this and that \NC left and right \NC here and there \NC \NR
\NC such and so \NC \rotate[
Ok, if you use p for the column definition you can just use \setupalign on
individual cells...
%%%
\starttext
\starttabulate[|pA{verytolerant,extremestretch}|pA{verytolerant,extremestretch}|]
\NC Heading flushleft \NC \setupalign[flushright] Heading flushright \NC \NR
\NC \input
Hi,
is it possible to override the defined orienatation for a given cell ?
Take this example from the wiki:
%%
\starttext
\starttabulate[|l|c|r|]
\NC this and that \NC left and right \NC here and there \NC \NR
\NC such and so \NC up and down \NC on and on \NC \NR
trivial - just needed to use \long\def for
> \stoptabulate so the following appears to work:
>
> \def\startMyExample{\starttabulate[|r|c|l|p|]}
> \long\def\stopMyExample{\stoptabulate} %% long def required here
> \def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC
Thanks Julian - I tried a startstop environment originally but it didn't work.
The answer turns out to be trivial - just needed to use \long\def for
\stoptabulate so the following appears to work:
\def\startMyExample{\starttabulate[|r|c|l|p|]}
\long\def\stopMyExample{\stoptabulate} %% long
table. Thus I have:
\def\startMyExample{\starttabulate[|r|c|l|p|]}
\def\stopMyExample{\stoptabulate}
\def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC\NR}
\starttext
Here are some examples...
\startMyExample
\MyExampleItem{before}{after}{change before into after}
\MyExampleItem
On 3/21/2023 7:20 AM, Li Yanrui (李延瑞) via ntg-context wrote:
Hi,
Please see the following example:
\startTEXpage[offset=5mm]
\starttabulate[|c|c|c|]
\VL 1 \VL 2 \VL 3\VL\NR
\stoptabulate
\blank
\starttabulate[|c|c|c|]
\NC 1 \NC 2 \NC 3\NR
\stoptabulate
\stopTEXpage
In its result
Hi,
Please see the following example:
\startTEXpage[offset=5mm]
\starttabulate[|c|c|c|]
\VL 1 \VL 2 \VL 3\VL\NR
\stoptabulate
\blank
\starttabulate[|c|c|c|]
\NC 1 \NC 2 \NC 3\NR
\stoptabulate
\stopTEXpage
In its result, there is a rule in the left side of the second tabulate. The
result
typing by defining macros for the various bits of a tabulate table. Thus I have:
\def\startMyExample{\starttabulate[|r|c|l|p|]}
\def\stopMyExample{\stoptabulate}
\def\MyExampleItem#1#2#3{\NC #1 \NC \rightarrow \NC #2 \NC #3 \NC\NR}
\starttext
Here are some examples...
\startMyExample
I have a technical manual style document that requires a lot of examples to be
included.
They can easily be typeset with a table so I thought I would save myself some
typing by defining macros for the various bits of a tabulate table. Thus I have:
\def\startMyExample{\starttabulate[|r|c|l|p
\startxmlsetups xml:table
\startpostponingnotes
\starttabulate[|p|p|]
\xmlfilter{#1}{/tr/command(xml:table:tr)}
\stoptabulate
\stoppostponingnotes
\stopxmlsetups
\startxmlsetups xml:table:tr
\xmlfilter{#1}{/td/command(xml:table:tr:td)}\NC\NR
\stopxmlsetups
\startxmlsetups xml:table-wrap
\startpostponingnotes
\xmlflush{#1}
\stoppostponingnotes
\stopxmlsetups
\startxmlsetups xml:table
\startpostponingnotes
\starttabulate[|p|p|]
\xmlfilter{#1}{/tr/command(xml:table:tr)}
\stoptabulate
\stoppostponingnotes
\stopxmlsetups
that. That was satisfactory in this case. Tabulate might have to be the
solution for a different set of circumstances.
Julian
On 27/2/23 23:26, mf via ntg-context wrote:
I would try \setuptabulate, \starttabulate ... \stoptabulate.
It has some limitations (though Hans added some features recently
I would try \setuptabulate, \starttabulate ... \stoptabulate.
It has some limitations (though Hans added some features recently), but
it should work.
Massi
Il 24/02/23 06:41, jbf via ntg-context ha scritto:
I have the following setup for side-by-side paras.
\defineparagraphs[Two][n=2
the moment:
%%%
\define[2]\MyChapter{
\starttabulate[|p(\layoutcolumnwidth)|p(\layoutcolumnwidth)|]
\NC \structureuservariable{author} \NC \structureuservariable{bio} \NR
\stoptabulate
}
\definehead[interview][chapter]
\setuphead[interview][
page=right,
command=
cture.
>
> Here is my code at the moment:
>
> %%%
>
> \define[2]\MyChapter{
>\starttabulate[|p(\layoutcolumnwidth)|p(\layoutcolumnwidth)|]
>\NC \structureuservariable{author} \NC \structureuservariable{bio} \NR
>\stoptabulate
> }
>
&g
ce to keep the
\startstopinterview structure.
Here is my code at the moment:
%%%
\define[2]\MyChapter{
\starttabulate[|p(\layoutcolumnwidth)|p(\layoutcolumnwidth)|]
\NC \structureuservariable{author} \NC
\structureuservariable{bio} \NR
\stoptabulate
}
\definehead[intervie
=no]
\startnarrow[left=5cm,right=5cm]
\starttabulate
[|p|p|]
\NC Das ist ein Text
\NC Das ist noch ein Text
\NC\NR
\NC Das ist ein Text
\NC Das ist noch ein Text
\NC\NR
\NC Das ist ein Text
\NC Das ist noch ein Text
\NC\NR
\stoptabulate
\stopnarrow
\stopplacefigure
\stoptext
On 1/5/2023 12:16 AM, Michael Guravage via ntg-context wrote:
While typesetting a document containing a small tabulated table with the
latest release I noticed that the tabulate \TH command hadn't added any
vertical space between the rows. Here's a mwe.
\starttext
\starttabulate[|l|l
While typesetting a document containing a small tabulated table with the
latest release I noticed that the tabulate \TH command hadn't added any
vertical space between the rows. Here's a mwe.
\starttext
\starttabulate[|l|l|]
\NC Γ \NC Gamma \NC\NR
\NC Θ \NC Theta \NC\NR
\TB[line
i get an error running the sample code:
\starttext
\defineorientation[test][orientation=down,vertical=top]
\startbuffer[b]
\definetabulatemove[a][xoffset=40pt]
\definetabulatemove[b][orientation=test,yoffset=depth]
\starttabulate[|c|c|]
\TM[a] \NC \darkred cell one \NC \darkgray cell one
Hi,
I uploaded lmtx. There have been some additions to tabulate.
\starttext
% \showboxes
% \showstruts
\starttabulate[|w(top,3cm)|w(top,3cm)|]
\NC test \NC test \par test \NC \NR
\NC test \NC test \par test \NC \NR
\stoptabulate
\starttabulate[|w(top,packed,3cm)|w(top,packed,3cm)|]
\NC test
Will this suit you?
\starttext
\input knuth
\startitemize[n]
\item x
\stopitemize
\startitemize[n][leftmargindistance=-.1\textwidth,width=.1\textwidth]
\starttabulate[|lp(.1\textwidth)|cp(.35\textwidth)|cp(.2\textwidth)|cp(.35\textwidth
When I place a tabulate environment inside itemize, it indents and the entire
table is shifted to the right about 1/2".
\starttext
\input knuth
\startitemize[n]
\item x
\stopitemize
\startitemize[n]
\starttabulate[|lp(.1\textwidth)|c
Joel via ntg-context schrieb am 25.10.2022 um 02:35:
I have a simple tabulate environment like this:
\starttext
\starttabulate[|p(.45\textwidth)|cp(.1\textwidth)|p(.45\textwidth)|]
\NR
\HL
\NC Cause \NC \NC Effect \NC\NR
I have a simple tabulate environment like this:
\starttext
\starttabulate[|p(.45\textwidth)|cp(.1\textwidth)|p(.45\textwidth)|]
\NR
\HL
\NC Cause \NC \NC Effect \NC\NR
\HL
\NC \NC \NC
phs[paraverse][n=2 ]
\setupparagraphs[paraverse][1][
width=.45\textwidth, distance=2em,
align={verytolerant,stretch}]
\startparaverse
\getbuffer[lines1]
\nextparaverse
\getbuffer[lines2]
\stopparaverse
Via tabulate
\starttabulate[|p|p|]
\N
to achieve this?
Best,
Denis
%%%
\startbuffer[lines]
\startlines[after={\blank}]
this
is
a
poem
with
two
stanzas
\stoplines
\stopbuffer
\starttext
With a blank between the stanzas:
\getbuffer[lines]
Without a blank between the stanzas:
\starttabulate[|p|p|]
\NC \getbuffer
On 7/9/2022 6:45 PM, Bruce Horrocks via ntg-context wrote:
\starttext
\starttabulate[|lG{}|lG{}|]
\NC \showglyphs \setalignmentcharacter{=}111=111 \NC
\setalignmentcharacter{=}111=111 \NC\NR
\stoptabulate
\stoptext
in node-ali.lmt around 615 add this if test
if signal
Hi Hans,
A few months back you announced some new tabulate features and gave some
examples, from which I have taken the following MWE:
\starttext
\starttabulate[|lG{}|lG{}|]
\NC \showglyphs \setalignmentcharacter{=}111=111 \NC
\setalignmentcharacter{=}111=111 \NC\NR
\stoptabulate
\stoptext
I sent a fix to the dev list.
Wolfgang
Joel via ntg-context schrieb am 29.05.2022 um 18:34:
After a recent update to ConTeXt, the code no longer seems to allow me
to \input a file within a table:
\starttext
\starttabulate[|p(.3\textwidth)|p(.7\textwidth)|]
\HL
\NC {\bf Term} \NC
ate to ConTeXt, the code no longer seems to allow me
> to \input a file within a table:
>
> \starttext
> \starttabulate[|p(.3\textwidth)|p(.7\textwidth)|]
> \HL
> \NC {\bf Term} \NC {\bf Definition} \NC\NR
> \HL
> \input test2.tex %<he
Did you try \input{file.tex} ?
(Just an idea, didn’t try.)
Hraban
Am 29.05.22 um 18:34 schrieb Joel via ntg-context:
After a recent update to ConTeXt, the code no longer seems to allow me
to \input a file within a table:
\starttext
\starttabulate[|p(.3\textwidth)|p(.7\textwidth)|]
\HL
After a recent update to ConTeXt, the code no longer seems to allow me to
\input a file within a table:
\starttext
\starttabulate[|p(.3\textwidth)|p(.7\textwidth)|]
\HL
\NC {\bf Term} \NC {\bf Definition} \NC\NR
\HL
\input test2.tex %<here you se
when the examples are created.
Below is a simple example.
\setuppapersize[A5]
\starttext
\starttabulate[|l|p|]
\NC Donald Knuth \NC \input{knuth} \NC\NR
\NC Hermann Zapf \NC \input{zapf} \NC\NR
\NC Edward Tufte \NC \input{tufte} \NC\NR
\NC Eugene Linden \NC \input{linden} \NC\NR
uppapersize[A10, landscape][A8, landscape]
\setuppaper[nx=2,ny=2]
\setuparranging[XY]
\switchtobodyfont[5pt]
\setuppagenumbering[location={header,inright}]
\showframe[edge]
\setuptabulate
[split=yes,
header=text,
title={\color[red] Fenchurch St. Paul},
frame=on]
\starttabulate[|p(1.2cm)|
being protected too (the
engine's alignments scanners have some lookahead properties that cna
otherwise interfere).
\starttabulate[||]
\NC \infofont\meaningasis \NC \NC \NR
\NC \infofont\meaningasis \NR \NC \NR
\NC \infofont\meaningasis \HL \NC \NR
\NC \infofont\meaningasis \FL \NC
upexternalfigures[width=3em,height=2em,frame=on,]
>
> %\def\TXT{\ruledhbox{\bf(XyX)}}
> \def\TXT{\externalfigure[pic]}
>
> \starttabulate[|l|l|l|l|l|l|]
> \NC\NC normal\NC depth\NC fit\NC broad\NC high\NC\NR
> \HL
> \dostepwiserecurse{0}{359}{45}{%
> %\exp
[pic]}
\starttabulate[|l|l|l|l|l|l|]
\NC\NC normal\NC depth\NC fit\NC broad\NC high\NC\NR
\HL
\dostepwiserecurse{0}{359}{45}{%
%\expanded{\setuprotate[rotation=\recurselevel]}
\NC{\expanded{\recurselevel}˚}%
\NC{\ruledhbox{X\rotate[location=normal,rotation=\recurselevel]{\TXT}X
After I ran an update on ConTeXt, my code gets an error:
\starttext
\starttabulate[|p(.3\textwidth)|p(.7\textwidth)|]
\HL
\NC {\bf Term} \NC {\bf Definition} \NC\NR
\HL
\input test2.tex
\HL
\stoptabulate
\stoptext
File test2.tex contains "\NC {\bf
On 1/2/2022 8:08 AM, Ajith R via ntg-context wrote:
Thanks for this. But, I changed to natural tables as suggested by
Kausika and that solved my problems.
if it's only text, \starttabulate works ok too (and often better)
Hans
.
When I use local footnotes within a tabulate section, the foot notes
gets placed unevenly. If I remove the "c" from
\starttabulate[|p(3cm)c|p|], then the footnotes are aligned. Is it a
bug? If not, how can I correct it?
1. Provide the correct number of columns in your table because in the
, the foot notes
gets placed unevenly. If I remove the "c" from
\starttabulate[|p(3cm)c|p|], then the footnotes are aligned. Is it a
bug? If not, how can I correct it?
\starttext \startlocalfootnotes
\starttabulate[|p(10cm)c|p|]
\NC [f]\footnote[f]{first foot note} first sentence\NC \NR
\NC [s
in the second I need to include a list of itens. My
> > > approach is like this:
> > >
> > > \starttabulate[|p(4cm)|p|]
> > > \FL
> > > \NC Objetivos \NC Estratégias \NC\NR
> > > \LL
> > > \NC Melhorar a qualidade do sucesso educativo \NC
> > &
in two columns: in the first a have a
text sentence in the second I need to include a list of itens. My
approach is like this:
\starttabulate[|p(4cm)|p|]
\FL
\NC Objetivos \NC Estratégias \NC\NR
\LL
\NC Melhorar a qualidade do sucesso educativo \NC
\startitemize
\item one
\item two
The attach.
Jorge Magalhães
On 19 Dec 2021, 08:18 +, Jorge Manuel , wrote:
> Dear Sirs
>
> I try to tabulate information in two columns: in the first a have a text
> sentence in the second I need to include a list of itens. My approach is like
> this:
>
> \st
Dear Sirs
I try to tabulate information in two columns: in the first a have a text
sentence in the second I need to include a list of itens. My approach is like
this:
\starttabulate[|p(4cm)|p|]
\FL
\NC Objetivos \NC Estratégias \NC\NR
\LL
\NC Melhorar a qualidade do sucesso educativo \NC
NC S_6 \NC= \NC 6 \NC+ \NC 5 \NC+ \NC\dots \NC+ \NC 2\NC+ \NC 1 \NR
> \NC\NC 2S_6 \NC= \NC 7 \NC+ \NC 7 \NC+ \NC\dots \NC+ \NC 7 \NC+ \NC 7 \NR
> \stopmathalignment
> \stopformula}
> \stoptext
>
> Is there a simpler way to typeset something like this?
How about:
\usecolors
- also on Windows). I've no
idea if this is visible in print since I don't print the pdfs. The effect
is also reproducible with the wiki version of context.
\starttext
\starttabulate[|l|c|]
\FL
\BC Font name \BC Math sqrt \NR
\ML
\NC Latin Modern Roman \NC
On 11/28/2021 9:26 AM, Denis Maier via ntg-context wrote:
Ok, did some tests: Now I understand what was meant with the limitation that
this only supports single line cells:
%
\starttext
% this works
\starttabulate[|l|l|]
\NS[1][c] Manuskript X \NC\NR
\NC foo
Ok, did some tests: Now I understand what was meant with the limitation that
this only supports single line cells:
%
\starttext
% this works
\starttabulate[|l|l|]
\NS[1][c] Manuskript X \NC\NR
\NC foo \NC bar \NC\NR
\stoptabulate
% this does not work
[
header=text,
split=yes,
title={Fenchurch St. Paul},
]
\starttabulate[|p|p|]
\dorecurse{6}{
\NC Bells: \NC Tin tan din dan bim bam bom bo \NC\NR
\HL
\NC Name: \NC Tailor Paul \NC \NR
\HL
}
\stoptabulate
\stoptext
t; A HTML equivalent will look roughly like this:
>
>
>
> Manuscript XY
>
>
> Some text in Greek or Hebrew or whatever
> This is the translation
>
>
>
> With ConteXt I’d like to do something like this
>
to do something like this
\starttabulate[|p(1.2cm)|p(1.2cm)|]
\NC Manuscript XY \NR
\NC Some text in Greek or Hebrew or whatever
\NC This is the translation \NC \NR
\stoptabulate
This compiles (interestingly?), but the cells at the top aren’t merged.
Any ideas ?
I know that natural tables
ns with centered content. Is that possible?
>
> A HTML equivalent will look roughly like this:
>
>
>
> Manuscript XY
>
>
> Some text in Greek or Hebrew or whatever
> This is the translation
>
>
>
> With ConteXt I’d like to do something like
in Greek or Hebrew or whatever
This is the translation
With ConteXt I'd like to do something like this
\starttabulate[|p(1.2cm)|p(1.2cm)|]
\NC Manuscript XY \NR
\NC Some text in Greek or Hebrew or whatever
\NC This is the translation \NC \NR
\stoptabulate
This compiles
is normal).
Running the same code on the wiki gives the correct output though.
Does anyone else get the same output? Screenshot attached.
Use \definetypeface to load/set the math fonts.
\starttext
\starttabulate[|l|c|]
\FL
\BC Font name \BC Math prime\NC\NR
\ML
\NC
h][tex gyre pagella math]
> > > \definefontfamily[bon][math][tex gyre bonum math]
> > > \definefontfamily[sch][math][tex gyre schola math]
> > > \definefontfamily[stx][math][stix two math]
> > > \starttext
> > > \starttabulate[|c|c|]
> > > \FL
>
ontfamily[pag][math][tex gyre pagella math]
> > \definefontfamily[bon][math][tex gyre bonum math]
> > \definefontfamily[sch][math][tex gyre schola math]
> > \definefontfamily[stx][math][stix two math]
> > \starttext
> > \starttabulate[|c|c|]
> > \FL
> > \NC \bf Font name \
math]
\definefontfamily[stx][math][stix two math]
\starttext
\starttabulate[|c|c|]
\FL
\NC \bf Font name \NC \bf Math prime \NR
\ML
\NC Latin modern \NC \m{x'} \NR
\NC Termes \NC \switchtobodyfont[trm] \m{x'} \NR
\NC Pagella \NC \switchtobodyfont[pag] \m{x'} \NR
\NC Bonum \NC \switchtobodyfont[bon] \m
\starttabulate[|c|c|]
\FL
\NC \bf Font name \NC \bf Math prime \NR
\ML
\NC Latin modern \NC \m{x'} \NR
\NC Termes \NC \switchtobodyfont[trm] \m{x'} \NR
\NC Pagella \NC \switchtobodyfont[pag] \m{x'} \NR
\NC Bonum \NC \switchtobodyfont[bon] \m{x'} \NR
\NC Schola \NC \switchtobodyfont[sch] \m{x'} \NR
\NC
Something \eTD \bTD Something \eTD \eTR
\bTR \bTD \itemtag \eTD \bTD Something \eTD \bTD Something \eTD \eTR
\bTR \bTD \itemtag \eTD \bTD Something \eTD \bTD Something \eTD \eTR
\eTABLE
\stopitemize
\startitemize [a] [right=),stopper=]
\starttabulate[|l|lw(.2\textwidth)|p|]
\NC \itemtag \NC
tarted with \NC (and
>> wasn’t sure any more if something changed that I forgot), but I probably
>> missed one line or something.
>>
>> The problem with \NS remains:
>>
>> \starttabulate[|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|]
>>
empty column when I started with \NC (and
wasn’t sure any more if something changed that I forgot), but I probably missed
one line or something.
The problem with \NS remains:
\starttabulate[|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|]
\NC Default \NC Linux \NC MacOS \NC Wi
testing I got an empty column when I started with \NC (and
wasn’t sure any more if something changed that I forgot), but I probably missed
one line or something.
The problem with \NS remains:
\starttabulate[|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|]
\NC Default \NC
s ignored.
With \NS the alignment is also wrong in the same way.
\starttext
\starttabulate[|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|lp(.2\textwidth)|]
Default \NC Linux \NC MacOS \NC Windows \NC\NR
\HL
Text Proc \NC LibreOffice \NC Apple Pages \NC MS Office (Word) \NC\NR
PDF Viewer\NC Evi
Hi,
The end of the week update provides:
\starttext
\startTEXpage[offset=10pt]
\starttabulate[|c|c|c|]
\NC 1 \NC second column \NC third column \NC \NR
\NC 2 \NC second\NC third\NC \NR
\NC 3 r \NS[1][r]second & third \NC \NR
\NC 3 c \
to download the file, the updating process
does not complete. The script ends without errors, but it's clear the
update has failed.
Massi
Il 30/08/21 16:30, Hans Hagen via ntg-context ha scritto:
Hi,
new in this upload are some features in tabulate (not all enabled yet),
like
\starttabulate[|lG
Hi,
new in this upload are some features in tabulate (not all enabled yet),
like
\starttabulate[|lG{.}|cG{,}|rG{=}|cG{x}|]
\NC 1.1 \NC 2,2 \NC 3=3 \NC a 0xFF \NC \NR
\NC 11.11 \NC 22,22 \NC 33=33 \NC b 0xFFF \NC \NR
\NC 111.111 \NC 222,222 \NC 333=333 \NC c 0x \NC \NR
Hello Wolfgang,
this look good, thank you.
See my slightly modified sample - is there a way to make "MT" horizontally
aligned, too?
- That within \tabulate is shifted somehow, neither "i0"
(\starttabulate[|l|pi0|p|]) produces well aligned result.
\starttext
\startit
Lukas/ConTeXt via ntg-context schrieb am 04.08.2021 um 17:03:
Hello,
let's have the following sample:
\starttext
\startitemize[packed_,][headstyle_=,]
\item CC
\starttabulate[|l|||]
\NI aa \NC bb \NC\NR
\stoptabulate
\item AA
\stopitemize
\stoptext
Hello,
let's have the following sample:
\starttext
\startitemize[packed_,][headstyle_=,]
\item CC
\starttabulate[|l|||]
\NI aa \NC bb \NC\NR
\stoptabulate
\item AA
\stopitemize
\stoptext
How do I make bullets (\itemtag) horizontally aligned one bellow
withpen pencircle scaled 1pt withcolor
"green" ;
draw anchorcell (3,3) withpen pencircle scaled 1pt withcolor
"red" ;
\stopoverlayMPgraphic
\starttabulate[synchronize=background,background=mp:whatever-6,format={|l|c|r|}]
\NC test \NC test \NC test
1 - 100 of 830 matches
Mail list logo